2.11.1 This section comprises the subsections Description, Used AT Commands, Flow Chart, Hints and Example. To move to these subsections please use the Navigation Frame or the appropriate buttons on the toolbar.
2.11.1.1
• Siemens GSM modules support two character sets: the GSM default alphabet defined in GSM 03.38 (7 bit) and the UCS2 character set. UCS2 is a 16-bit universal multiple-octet coded character set, defined in ISO/IEC10646. To choose one of them use the command AT+CSCS.
• To set the SMS message format use AT+CMGF. Choose AT+CMGF=1 for text mode, or AT+CMGF=0 for PDU mode.
• If text mode is activated, you can enable the presentation of text mode parameters in the result codes of SMS
reading and listing commands by using “AT+CSDH”.
• To change the text mode parameters use AT+CSMP. You can set the following SMS parameters: first octet,
service center time stamp, validity period and the protocol identifier.
• Basically, the service center address supplied by the service provider must be specified. In text mode (AT+CMGF=1), this is done by using the AT+CSCA command. If you use PDU mode it is possible to code the service center address in your PDU. Therefore, in PDU mode, setting the service center address with AT+CSCA is optional.
• If you want to use SMS features specified in GSM 07.05 Phase 2+, you need to enable Phase 2+ functionality
with “AT+CSMS”.
• To be notified by a URC, when the module receives a short message, a cell broadcast message or status report use AT+CNMI to enable the presentation of URCs.
•
• Use AT+CPMS to select the preferred storage for short messages. If the preferred storage is “MT” you can determine the storage sequence with “AT^SSMSS”. This gives you the choice of using first either the SIM or the ME storage.
• With AT+CGSMS you can select preferences for transmitting MO short messages over GPRS or circuit switched services.
• AT^SSCONF allows you to enable or disable the presentation of the parameters <ra> and <tora> fpr status
reports in the result codes of SMS reading and listing commands.
• If you want to receive cell broadcast messages activate the URC presentation for CBS with AT+CNMI and subscribe to a CBS channel with AT+CSCB.
• The AT^SM20 command specifies different modes of responses returned when sending and writing short messages:
AT^SM20=,0 causes the ME return "+CMS ERROR: <err>" when writing or sending of short messages fails.
AT^SM20=,1 (factory default) causes the ME to return “OK” no matter whether or not the SMS command was succesfully executed.Some of the above settings can be stored to the user profile. See [2] for a list of settings storable with AT&W.
2.11.1.2
2.11.1.3 Figure 71: SMS initialization - part 1Figure 72: SMS initialization - part 2Figure 73: SMS initialization - part 3Figure 74: SMS initialization - part 4Figure 75: SMS initialization (cell broadcast)Figure 76: SMS initialization (status report)
2.11.1.4 GCF-CC note: The GSM character set must be supported. For further details see [2]GCF-CC note: GCF test cases verify the initialization of Cell Broadcast settings. Therefore, we recommend that the necessary settings be included in your application.
Some applications store all short messages to a local memory since it offers more space. Please consider that some GCF test cases verify if short messages are properly stored on the SIM or on the ME RAM.
2.11.1.5
|